<div class="row animated" ng-class="{true: 'fadeInRight', false:'fadeInLeft'}[currentAnimated]">
  <div class="panel panel-default">
    <div class="panel-heading">
      <a ng-click="discard()" href="javascript:;"><i class="backBtn fa fa-arrow-circle-left"></i></a>
      <span class="panelTitle" ng-bind="coupon.provideTitle"></span>
    </div>
    <div class="panel-body">
      <div class="col-xs-12">
        <p>发行面额：¥<span ng-bind="coupon.payValue"></span></p>
        <p>发行份数：<span ng-bind="coupon.provideTotal"></span>张</p>
        <p>已领份数：<span ng-bind="coupon.receiveTotal"></span>张</p>
      </div>
      <div class="col-xs-12">
        <p>数据统计</p>
        <div class="row">
          <div class="col-sm-2" ng-repeat="i in coupon.publishids">
            <div class="ibox">
              <div class="ibox-content">
                <h5><a href="/cms/#/user/{{i}}/view">{{coupon.agentStats[i].nickName || i}}引荐数</a></h5>
                <h1 class="no-margins">{{coupon.agentStats[i].count || 0}}</h1>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-xs-12" ng-if="coupon.qrcode">
        <p>活动二维码：</p>
        <img ng-src="{{coupon.qrcode}}" width="300" height="300" border="0" />
      </div>
      <div class="col-xs-12">
        <p><h4>活动规则：</h4></p>
        <div ng-bind-html="coupon.content | trustHtml"></div>
      </div>
    </div>
  </div>
</div>
